﻿#include "BieuThuc.h"


Expression::Expression()
{
	expre = "";
}

Expression::Expression(string &argExpre)
{
	expre = argExpre;
}

Expression::Expression(const Expression &argExpre)
{
	expre = argExpre.expre;
}

Expression::~Expression()
{
	expre = "";
}

int Expression::GetPriority(char argOperator)
{
	switch (argOperator)
	{
	case '*':
	case '/':
		return 2;
	case '+':
	case '-':
		return 1;
	default:
		return 0;
	}
}

void Expression::EditExpression()
{
	
}

bool Expression::IsOperand(string Value)
{
	
}

string Expression::GetConvertSuffixes()
{
	stack<string> temp; //Lưu các toán tử để xử lí

	
}
